import React from "react";
import { Button } from "@hi-ui/hiui";
import { getLogins } from "../../api";
function Upload() {
  const login = async () => {
    let data = await getLogins({
      userName: "小楠",
      password: "1b56e3e7a66e2baa927971b1e2debae4",
    });
    console.log(data, "登录显示");
  };
  return (
    <div>
      文件上传
      <Button type="primary" onClick={login}>
        登录
      </Button>
    </div>
  );
}
export default Upload;
